package com.storere.entity;

 

import com.baomidou.mybatisplus.extension.activerecord.Model;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

/**
 * 用户表(Users)表实体类
 *
 * @author makejava
 * @since 2023-04-23 00:03:21
 */

@Mapper
public class Users extends Model<Users> {
    //主键
    private Long id;
    //用户名
    private String username;
    //密码
    private String password;
    //角色
    private String role;
    //新增时间
    private Date addtime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    }

